package org.edu.modules.research.rproject.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.edu.common.base.BasePageDto;
import org.edu.modules.research.rproject.entity.VeJkyProjectWorkUser;
import org.edu.modules.research.rproject.dto.VeJkyProjectWorkUserDto;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * dao-科研项目工作人员表
 */
public interface VeJkyProjectWorkUserMapper extends BaseMapper<VeJkyProjectWorkUser> {

    void deleteByPId(@Param("pid") Integer pId);
    /**
     * 查询DTO 的分页
     **/
    IPage<VeJkyProjectWorkUserDto> pageDto(BasePageDto page, @Param(Constants.WRAPPER) Wrapper queryWrapper);
}
